Add GtkShortcutManager
authorEmmanuele Bassi <ebassi@gnome.org>
Thu, 6 Feb 2020 15:43:55 +0000 (15:43 +0000)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 26 Mar 2020 03:14:27 +0000 (23:14 -0400)
commitaab10ea43ba657a5d3923df59821d156a9b0e4cb
treee5bbd9505c801d635eba04b491df3cd9df949f0c
parent9428807c57e5f49ccc9d99ec82aed9ae51fd1293
Add GtkShortcutManager

This adds an interface for taking care of shortcut controllers with
managed scope.

Only GtkWindow currently implements this interface, so we need to ensure
that we check if any top-level widget we reach is a shortcuts manager
before we call into it.
docs/reference/gtk/gtk4-docs.xml
docs/reference/gtk/gtk4-sections.txt
docs/reference/gtk/gtk4.types.in
gtk/gtk.h
gtk/gtkroot.c
gtk/gtkshortcutcontroller.c
gtk/gtkshortcutmanager.c [new file with mode: 0644]
gtk/gtkshortcutmanager.h [new file with mode: 0644]
gtk/gtkwidget.c
gtk/gtkwindow.c
gtk/meson.build